package com.wbk.lotterysystemuserservice;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCaching
@MapperScan("com.wbk.lotterysystemuserservice.mapper")
@EnableSwagger2Doc
@EnableSwaggerBootstrapUI
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.wbk.system","com.wbk.lottery"})
@SpringBootApplication
public class LotterySystemUserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(LotterySystemUserServiceApplication.class, args);
    }

}
